<%--
  Created by IntelliJ IDEA.
  User: Win10
  Date: 2023/5/27
  Time: 17:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>观影信息可视化系统-用户数据大屏</title>
    <link href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/css/base.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/css/all.css" rel="stylesheet">
<%--    <link rel="stylesheet" href="https://at.alicdn.com/t/c/font_3162607_n0x27krm3g.css">--%>
</head>
<body class="d-flex flex-column h-100" style="font-size: medium;">
<header class="main-navbar navbar navbar-expand-lg navbar-light bg-white shadow-sm fixed-top">
    <div class="container">
        <a class="navbar-brand" href="">观影信息可视化系统</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
                aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item">
                    <a class="nav-link" href="${pageContext.request.contextPath}/queryFilmDatas">电影收视数据</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="${pageContext.request.contextPath}/queryGenderDatas">不同性别观影偏好</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="${pageContext.request.contextPath}/queryAgeDatas">各年龄段观影偏好</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="${pageContext.request.contextPath}/toDataScreen">用户数据大屏</a>
                </li>
            </ul>
            <span class="navbar-text">
              <span class="badge badge-pill badge-secondary">企业用户</span>
                ${ADMIN_SESSION.name}
                <a href="${pageContext.request.contextPath}/logout">退出</a>
            </span>
        </div>
    </div>
</header>

<main role="main" class="flex-shrink-0 content-wrapper main_height">
    <div class="container" style="height: 110%;">
        <img class="images0" src="${pageContext.request.contextPath}/img/1111.png">
        <div class="title0">
            <h1>用&nbsp;&nbsp;户&nbsp;&nbsp;数&nbsp;&nbsp;据&nbsp;&nbsp;大&nbsp;&nbsp;屏</h1>
        </div>
        <div class="form_position0">
            <form class="form-horizontal" role="form">
                <div class="form-group">
                    <input type="text" class="form-control text-center" id="tel" placeholder="请输入用户电话号码" required autofocus>
                </div>
                <div class="form-group">
                    <input type="text" class="form-control text-center" id="year" placeholder="请输入查询年份" required autofocus>
                </div>
            </form>
        </div>
        <div class="begin0">
            <a onclick="queryData()">
                To Begin >>
<%--                <div class="iconfont icon-youjiantou" style="display: inline-block;"></div>--%>
            </a>
        </div>
    </div>
</main>

<footer class="bg-dark mt-auto py-3">
    <div class="container text-center">
          <span class="text-light small">学校：**** | 学院：**** | 班级：**** |
            学生：**** | 项目类型：****</span>
    </div>
</footer>
<script src="${pageContext.request.contextPath}/jquery/jquery-2.1.1.min.js"></script>
<script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.js"></script>
<script>
    function queryData(){
        window.location.href = "/DataScreen?tel=" + $("#tel").val() + "&year=" + $("#year").val();
    }
</script>
</body>
</html>
